//
//  WFHeadview.h
//  WangyiFangzuo
//
//  Created by 蔡靖方 on 16/9/15.
//  Copyright © 2016年 111. All rights reserved.
//

#import <UIKit/UIKit.h>

//@interface WFHeadview : UIView
//
//@end
//给图片添加点击事件时调用改代理方法
@protocol WFHeadviewDelegate <NSObject>

@optional
- (void)ScrollViewDidClickAtAnyImageView:(UIImageView *)imageView;

@end

@interface WFHeadview : UIView
@property(nonatomic,strong)NSMutableArray *headarr;
@property (strong, nonatomic) NSArray *images;
@property (weak, nonatomic, readonly) UIPageControl *pageControl;
@property (assign, nonatomic, getter=isScrollDirectionPortrait) BOOL scrollDirectionPortrait;

//代理
@property (nonatomic, weak) id<WFHeadviewDelegate> delegate;

@end
